22 lines
926 B
YAML
22 lines
926 B
YAML
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}"'
|