diff --git a/.gitea/workflows/spike.yml b/.gitea/workflows/spike.yml new file mode 100644 index 0000000..b817f13 --- /dev/null +++ b/.gitea/workflows/spike.yml @@ -0,0 +1,21 @@ +name: spike +on: + push: + branches: [gitea-spike] +jobs: + docker-runner: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: https://git.protopeer.com/peptide-repo/peptide-e2e/.gitea/actions/hello@gitea-spike + with: {who: docker} + - run: 'echo "secret lens: key=${#K} host=${#H} user=${#U} smoke=${#S} var=[${V}]"' + env: {K: "${{ secrets.SSH_PRIVATE_KEY }}", H: "${{ secrets.SSH_HOST }}", U: "${{ secrets.STAGING_WP_ADMIN_USER }}", S: "${{ secrets.STAGING_WP_ADMIN_PASSWORD }}", V: "${{ vars.PROD_DEPLOY_ENABLED }}"} + host-runner: + runs-on: peptide-vps + needs: docker-runner + steps: + - uses: actions/checkout@v4 + - uses: https://git.protopeer.com/peptide-repo/peptide-e2e/.gitea/actions/hello@gitea-spike + with: {who: host} + - run: 'command -v rsync ssh; echo "sha=${GITHUB_SHA:0:7} server=${GITHUB_SERVER_URL} repo=${GITHUB_REPOSITORY}"'