Skip to content

Commit

Permalink
github pages deploy added
Browse files Browse the repository at this point in the history
  • Loading branch information
olesni committed Dec 14, 2023
1 parent 94e7853 commit 9cd2710
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ run-name: ${{ github.actor }} is running main branch tests 🚀

on:
push:
branches: [main]
branches: [main, EO-28/deploy-to-github-pages]

env:
CI: true

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
test:
timeout-minutes: 10
Expand Down Expand Up @@ -37,3 +41,25 @@ jobs:
name: playwright-report
path: playwright-report/
retention-days: 1
deploy:
needs: test
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Download the build artifacts
uses: actions/download-artifact@v3
with:
name: dist
path: dist/
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
with:
artifact_name: dist
timeout: 300000

0 comments on commit 9cd2710

Please sign in to comment.