Skip to content

Commit

Permalink
DEploying.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsommardahl committed May 22, 2024
1 parent f2c2f29 commit fb27ecc
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,25 @@ jobs:
run: cd frontend && npm run build

# - name: Perform Analysis
# uses: github/codeql-action/analyze@v2
# uses: github/codeql-action/analyze@v2

deploy:
name: 🚚 Deploy Frontend Artifact
runs-on: ubuntu-latest
needs:
- lint
- test
- static-analysis
if: github.ref == 'refs/heads/olt'
outputs:
page_url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit fb27ecc

Please # to comment.