commit 8f2480f6cfb66126e58df2844c1b051e80df0aa9 Author: Valentin <43043885+itsmrval@users.noreply.github.com> Date: Tue Jun 4 17:44:40 2024 +0200 Create deploy diff --git a/.github/workflows/deploy b/.github/workflows/deploy new file mode 100644 index 0000000..e6f7c43 --- /dev/null +++ b/.github/workflows/deploy @@ -0,0 +1,24 @@ +name: deploy + +on: + push: + tags: + - '*' + +jobs: + déployer: + runs-on: self-hosted + + steps: + - name: extract + run: | + tag_name=${GITHUB_REF##refs/tags/} + echo "tag $tag_name" + + - name: download + uses: actions/checkout@v3 + + + - name: + run: | + cp -r . /var/www/content