Skip to content

Commit

Permalink
Add gh-pages deploy (automatic)
Browse files Browse the repository at this point in the history
  • Loading branch information
chartgerink committed Oct 9, 2024
1 parent d6c51ac commit 5bc8e2a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/auto-deploy-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Auto Deploy Pages

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install dependencies
run: npm install

- name: Run deploy script
run: npm run deploy
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function App() {
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
Edit <code>src/App.js</code> and save.
</p>
<a
className="App-link"
Expand Down

0 comments on commit 5bc8e2a

Please sign in to comment.