Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
enijar committed Jan 22, 2024
1 parent 2615214 commit 129d712
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Deploy

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.4.0
with:
lfs: true
persist-credentials: false

- name: Install and Build 🔧
run: |
npm ci
PUBLIC_PATH=./ npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.8
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: build
clean: true

- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DEPLOYMENTS }}

0 comments on commit 129d712

Please sign in to comment.