Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ScaleDrone/vue-chat-tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
herkyl committed Oct 13, 2023
2 parents 7d96c0c + 2b90492 commit 8ecaa49
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Deploy
on:
push:
branches: [main]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Add channel ID
run: sed -i s/YOUR-CHANNEL-ID/XB7ugFZvx2dYbkvj/g ./src/App.vue
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install packages
run: npm ci
- name: Build app
run: npm run build && touch ./dist/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist # The folder the action should deploy.

0 comments on commit 8ecaa49

Please sign in to comment.