Skip to content

fixed build issues

fixed build issues #32

Workflow file for this run

name: Deploy
on:
push:
branches:
- develop
- main
paths-ignore:
- '**/*.md'
- '**/*.json'
- '**/*.yml'
jobs:
deploy-app:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Deploy the app (develop)
if: github.ref == 'refs/heads/develop'
uses: digitalocean/app_action/deploy@v2
with:
token: ${{ secrets.DIGITAL_OCEAN_ACCESS_TOKEN }}
app_name: ${{ secrets.DIGITAL_OCEAN_APP_NAME }}
- name: Deploy the app (main)
if: github.ref == 'refs/heads/main'
uses: digitalocean/app_action/deploy@v2
with:
token: ${{ secrets.DIGITAL_OCEAN_ACCESS_TOKEN }}
app_name: ${{ secrets.DIGITAL_OCEAN_APP_NAME_PROD }}