show that I know the word personas lol #28
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: Makefile CI | |
on: | |
push: | |
branches: [ "master" ] | |
jobs: | |
build: | |
environment: Deployment | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Store ssh config | |
env: | |
SSH_CONFIG: ${{ secrets.SSH_CONFIG }} | |
run: | | |
mkdir -p ~/.ssh | |
chmod 700 ~/.ssh | |
echo "$SSH_CONFIG" > ~/.ssh/config | |
ssh-keyscan $(grep Hostname ~/.ssh/config | cut -b 14-) >> ~/.ssh/known_hosts | |
wc ~/.ssh/config | |
- name: Generate | |
run: make generate | |
- name: Deploy | |
run: make deploy |