deployment name changes #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: Dynamic workspace | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "docs/**" | |
- "**.md" | |
jobs: | |
build_and_deploy: | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout application project repository | |
uses: actions/checkout@v3 | |
- name: npm install --omit=dev | |
run: npm install --omit=dev | |
- name: Deploy project | |
uses: platformatic/onestep@latest | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
platformatic_workspace_id: 47ba1bbe-79b0-4d36-b62a-efd2fe0bf65a | |
platformatic_workspace_key: ${{ secrets.PLATFORMATIC_DYNAMIC_WORKSPACE_API_KEY }} | |
platformatic_config_path: ./platformatic.db.json | |
env: | |
DATABASE_URL: sqlite://./db.sqlite | |
PLT_SERVER_LOGGER_LEVEL: info | |
PORT: 3042 | |
PLT_SERVER_HOSTNAME: 127.0.0.1 |