This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Fernando Fernández <[email protected]>
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Stable deployment 🕊️📦 | ||
|
||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "**/*.md" | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
name: Build 🚧 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout ⬇️ | ||
uses: actions/[email protected] | ||
with: | ||
show-progress: false | ||
|
||
- name: Setup node environment ⚙️ | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 20 | ||
check-latest: true | ||
|
||
- name: Install dependencies 📦 | ||
run: npm ci --no-audit | ||
|
||
- name: Run build 🏗️ | ||
run: npm run build | ||
|
||
- name: Upload GitHub Pages artifact ⬆️ | ||
uses: actions/[email protected] | ||
with: | ||
path: dist | ||
|
||
- name: Deploy to GitHub Pages 🚀 | ||
uses: actions/[email protected] |