Skip to content

Commit

Permalink
Work In Progress
Browse files Browse the repository at this point in the history
This is a trash commit to save changes

Signed-off-by: Salim Djerbouh <13698160+CaddyDz@users.noreply.github.com>
  • Loading branch information
CaddyDz committed Jun 12, 2023
1 parent 53729c8 commit 7d1a98b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: write
if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')"

steps:
Expand All @@ -20,6 +22,14 @@ jobs:
with:
node-version: 12

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci --omit=dev

Expand All @@ -43,6 +53,7 @@ jobs:

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit 7d1a98b

Please sign in to comment.