Skip to content

fixing graphQL bug

fixing graphQL bug #63

Workflow file for this run

name: Deploy to api.dev.
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Copy config file
run: |
cp ./config.dev.js ./config.js
- name: Sync files to remote host
uses: up9cloud/[email protected]
env:
HOST: dev.medienhaus.udk-berlin.de
KEY: ${{secrets.SSH_DEV_MEDIENHAUS_UDK_BERLIN_DE}}
TARGET: /opt/medienhaus-api/
VERBOSE: true
USER: root
PORT: 22
ARGS: --recursive --update --delete --compress --exclude=/.git/
SSH_ARGS: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
SOURCE: .
- name: Restart medienhaus-cms-api service
uses: fifsky/[email protected]
with:
command: |
cd /opt/medienhaus-api/
npm clean-install
systemctl restart medienhaus-api.service
host: dev.medienhaus.udk-berlin.de
user: root
key: ${{secrets.SSH_DEV_MEDIENHAUS_UDK_BERLIN_DE}}