Skip to content

Commit

Permalink
Update Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLopes committed Jun 25, 2024
1 parent 928977c commit e5a1a2b
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/continous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node.js ⚙️
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install NPM dependencies
run: npm install
node-version: 22
- name: Install Yarn via Corepack
run: corepack enable && corepack install
- name: Install Yarn dependencies
run: yarn install
- name: Build Vue application
run: npm run build
run: yarn build
- name: Upload the generated build in /dist directory to Github action artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release
path: dist/
Expand All @@ -52,17 +54,17 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Download the build from Github action artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: release
- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit e5a1a2b

Please sign in to comment.