Skip to content

Commit

Permalink
Update deployment actions
Browse files Browse the repository at this point in the history
Should provide a speedup from faster artifact retrieval, and caching Yarn packages.
  • Loading branch information
ISSOtm authored Sep 3, 2024
1 parent 72793fd commit 4e5ba7b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout virens
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: gbdevio

- name: Install NodeJS
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.x'
cache: yarn

- name: Install npm requirements
run: yarn install
Expand All @@ -27,7 +28,7 @@ jobs:
working-directory: gbdevio/

- name: Store final build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Build output
path: gbdevio/website/.vuepress/dist
Expand All @@ -38,7 +39,7 @@ jobs:
needs: build
steps:
- name: Checkout virens/gh-pages
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: gbdevio
ref: master
Expand All @@ -48,7 +49,7 @@ jobs:
rm -vrf gbdevio/*
- name: Unpack build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: Build output
path: gbdevio/
Expand Down

0 comments on commit 4e5ba7b

Please sign in to comment.