From 8f2480f6cfb66126e58df2844c1b051e80df0aa9 Mon Sep 17 00:00:00 2001 From: Valentin <43043885+itsmrval@users.noreply.github.com> Date: Tue, 4 Jun 2024 17:44:40 +0200 Subject: [PATCH] Create deploy --- .github/workflows/deploy | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/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