Skip to content

pullpreview

pullpreview #5053

Workflow file for this run

name: pullpreview
on:
schedule:
- cron: "30 */4 * * *"
push:
branches:
- master
- v5
pull_request:
types: [labeled, unlabeled, synchronize, closed, reopened]
concurrency: ${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event_name == 'schedule' || github.event_name == 'push' || github.event.label.name == 'pullpreview' || contains(github.event.pull_request.labels.*.name, 'pullpreview')
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: "./"
with:
admins: crohr
always_on: master,v5
app_path: ./examples/wordpress
instance_type: micro_2_0
dns: custom.pullpreview.com
registries: docker://${{ secrets.GHCR_PAT }}@ghcr.io
ttl: 1h
env:
AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
# # Uncomment the following if need to debug
# - name: Setup tmate session
# if: always()
# uses: mxschmitt/action-tmate@v3
# timeout-minutes: 45
# with:
# limit-access-to-actor: true