Skip to content

Change 7.7 to 8.1 (#663) #4

Change 7.7 to 8.1 (#663)

Change 7.7 to 8.1 (#663) #4

Workflow file for this run

name: "Better-Dime CD"
on:
push:
branches: [ develop ]
workflow_dispatch:
jobs:
develop:
runs-on: ubuntu-latest
environment: develop
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: "Setup the SSH known hosts file"
run: |
mkdir -p -m 0700 /home/runner/.ssh
echo $HOST_KEY >> /home/runner/.ssh/known_hosts
chmod 600 /home/runner/.ssh/known_hosts
env:
HOST_KEY: ${{ secrets.SSH_HOST_KEY }}
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Add remote
run: git remote add metanet [email protected]:~/git/better-dime/develop.git
- name: Push
run: git push -f metanet $BRANCH_NAME:master
env:
BRANCH_NAME: ${{ github.ref_name }}