Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dudushy committed Oct 7, 2024
1 parent 986d2b9 commit ea475ab
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Build project
run: npm run action-deploy
# - name: Run tests
# run: npm run ng -- test --no-watch --no-progress --browsers=ChromeHeadless

- name: Prepare and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TIMESTAMP=$(date +"%d-%B-%Y %I:%M:%S %p")
npm run ng -- deploy --base-href=https://dudushy.github.io/qoder/ --repo=https://github.com/dudushy/qoder.git --name="github-actions[bot]" --email="github-actions[bot]@users.noreply.github.com" --message="Deployed by GitHub Actions [\`${GITHUB_REF#refs/heads/}\`] @ ${TIMESTAMP}"

0 comments on commit ea475ab

Please sign in to comment.