Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
irosic20 authored Jan 8, 2024
1 parent f41b164 commit 6023117
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
push:
branches: ["feature/*","develop","main","hotfix/*"]
pull_request:
branches: ["feature/*","develop","main","hotfix/*"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true

# ... (previous parts of your workflow)

jobs:
Expand Down Expand Up @@ -42,6 +65,6 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
with:
with:
token: ${{ secrets.GITHUB_TOKEN }}
artifact-name: dist

0 comments on commit 6023117

Please sign in to comment.