Skip to content

update project website link, update developer data, remove todo, fix … #78

update project website link, update developer data, remove todo, fix …

update project website link, update developer data, remove todo, fix … #78

Workflow file for this run

name: Deploy Dev
on:
push:
branches:
- "dev"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [15.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install and build
run: npm install --force && npm run build
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: build-dir
path: build
retention-days: 5
DeployDev:
name: Deploy Test Environment Server
needs: [build]
runs-on: ubuntu-latest
steps:
- name: SSH
run: |
install -m 600 -D /dev/null ~/.ssh/id_rsa
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_rsa
echo "HIER"
ssh-keyscan "${{ secrets.SSH_HOST }}" > ~/.ssh/known_hosts
- name: Get Build Artifact
uses: actions/download-artifact@v3
with:
name: build-dir
- name: Deploy Live
run: |
ls
scp -r * ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR_DEV }}
- name: Cleanup
run: rm -rf ~/.ssh