deploy #33
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
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Java JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Install Maven | |
run: sudo apt-get install -y maven | |
- name: Authenticate with Google Cloud | |
run: gcloud auth activate-service-account --key-file="$HOME/gcp-key.json" | |
- name: List contents of project directory | |
run: ls -la "$project_dir" | |
- name: Build and deploy with Maven | |
run: mvn clean package appengine:deploy |