Merge pull request #30 from userXinos/dependabot/npm_and_yarn/apollo-… #249
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
name: Deploy | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 17 | |
cache: 'npm' | |
- name: Install dependencies | |
run: | | |
yarn global add @vue/cli-service-global | |
npm install --production | |
- name: Build | |
run: | | |
npm run build | |
- name: Build Nebula | |
run: | | |
npm run build-nebula | |
- name: Deploy to gh-pages | |
uses: JamesIves/github-pages-deploy-action@v4.3.0 | |
with: | |
branch: gh-pages | |
folder: dist | |
git-config-name: "GitHub Actions" | |
git-config-email: "actions@github.com" |