Skip to content

Commit

Permalink
Improve deploy action 2
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquecf committed Nov 28, 2024
1 parent 928c9aa commit fb0a14d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- name: Install dependencies
run: npm install

- name: Build CSS
run: npm run build

- name: Copy necessary files
run: |
mkdir -p dist/images
cp -r images/* dist/images/
cp -r src/images/* dist/images/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit fb0a14d

Please sign in to comment.