Update a-to-te-trochu-boli.song #17
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 json api | |
on: [push] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build with Maven | |
run: | |
mvn clean compile exec:java | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4.3.3 | |
with: | |
token: ${{ secrets.JSON_API_TOKEN }} | |
branch: master # The branch the action should deploy to. | |
folder: ./output/json/ # The folder the action should deploy. | |
repository-name: riff-nz/api | |
- name: Reload | |
run: curl http://www.riff.nz/reload |