Skip to content

fix(assets): move sprites #73

fix(assets): move sprites

fix(assets): move sprites #73

Workflow file for this run

name: Checks
on:
push:
pull_request:
workflow_dispatch:
env:
SSH_PUB_KEY:
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH9KSzBv3mfRAq7tOOU6/J9htV/+UTwro8q/JkO97HwO clement2104.boillot@gmail.com
jobs:
compiles:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Compiles
uses: docker://epitechcontent/epitest-docker
with:
args: |
bash -c "
mkdir ./build/ && cd ./build/
cmake .. -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release
cmake --build .
cd ..
tree
ls ./arcade ./lib/
"
mirror:
needs: [ compiles ]
if: ${{ !github.event.pull_request }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: $SSH_PUB_KEY
- name: Push to epitech
run: |
git fetch --unshallow origin
git remote add epitech "${{ secrets.MIRROR_REPO }}"
git push epitech --force