Actually add workflow_dispatch #2
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: Build and Deploy App | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up npm | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18.6.0' | |
- name: Install caprover | |
run: npm install -g caprover | |
- name: Caprover Deploy | |
run: caprover deploy -h '${{ secrets.CAPROVER_SERVER}}' -p '${{ secrets.CAPROVER_PASSWORD }}' -b 'master' -a 'nebulus-www' |