├── .dockerignore ├── .github └── workflows │ ├── pullpreview-multi-env.yml │ └── pullpreview.yml ├── .gitignore ├── .tool-versions ├── CHANGELOG.md ├── Dockerfile ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── Makefile ├── README.md ├── action.yml ├── bin └── pullpreview ├── data └── update_script.sh.erb ├── examples └── wordpress │ ├── docker-compose.yml │ └── pre_script.sh ├── img ├── 2-add-label.png ├── 3-deploy-starts.png ├── 4-view-logs.png ├── 5-view-deployment.png ├── 6-deploy-next-commit-pending.png └── 8-list-deployments.png ├── lib ├── pull_preview.rb └── pull_preview │ ├── access_details.rb │ ├── down.rb │ ├── error.rb │ ├── github_sync.rb │ ├── instance.rb │ ├── license.rb │ ├── list.rb │ ├── providers.rb │ ├── providers │ └── lightsail.rb │ ├── up.rb │ ├── user_data.rb │ └── utils.rb └── test └── fixtures ├── github_event_labeled.json ├── github_event_push.json ├── github_event_push_solo_organization.json └── github_event_unlabeled.json /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/pullpreview-multi-env.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/.github/workflows/pullpreview-multi-env.yml -------------------------------------------------------------------------------- /.github/workflows/pullpreview.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/.github/workflows/pullpreview.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | .env* 3 | tempkey 4 | -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | ruby 3.1.6 -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/Dockerfile -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/README.md -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/action.yml -------------------------------------------------------------------------------- /bin/pullpreview: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/bin/pullpreview -------------------------------------------------------------------------------- /data/update_script.sh.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/data/update_script.sh.erb -------------------------------------------------------------------------------- /examples/wordpress/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/examples/wordpress/docker-compose.yml -------------------------------------------------------------------------------- /examples/wordpress/pre_script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/examples/wordpress/pre_script.sh -------------------------------------------------------------------------------- /img/2-add-label.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/img/2-add-label.png -------------------------------------------------------------------------------- /img/3-deploy-starts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/img/3-deploy-starts.png -------------------------------------------------------------------------------- /img/4-view-logs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/img/4-view-logs.png -------------------------------------------------------------------------------- /img/5-view-deployment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/img/5-view-deployment.png -------------------------------------------------------------------------------- /img/6-deploy-next-commit-pending.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/img/6-deploy-next-commit-pending.png -------------------------------------------------------------------------------- /img/8-list-deployments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/img/8-list-deployments.png -------------------------------------------------------------------------------- /lib/pull_preview.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview.rb -------------------------------------------------------------------------------- /lib/pull_preview/access_details.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/access_details.rb -------------------------------------------------------------------------------- /lib/pull_preview/down.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/down.rb -------------------------------------------------------------------------------- /lib/pull_preview/error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/error.rb -------------------------------------------------------------------------------- /lib/pull_preview/github_sync.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/github_sync.rb -------------------------------------------------------------------------------- /lib/pull_preview/instance.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/instance.rb -------------------------------------------------------------------------------- /lib/pull_preview/license.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/license.rb -------------------------------------------------------------------------------- /lib/pull_preview/list.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/list.rb -------------------------------------------------------------------------------- /lib/pull_preview/providers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/providers.rb -------------------------------------------------------------------------------- /lib/pull_preview/providers/lightsail.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/providers/lightsail.rb -------------------------------------------------------------------------------- /lib/pull_preview/up.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/up.rb -------------------------------------------------------------------------------- /lib/pull_preview/user_data.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/user_data.rb -------------------------------------------------------------------------------- /lib/pull_preview/utils.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/lib/pull_preview/utils.rb -------------------------------------------------------------------------------- /test/fixtures/github_event_labeled.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/test/fixtures/github_event_labeled.json -------------------------------------------------------------------------------- /test/fixtures/github_event_push.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/test/fixtures/github_event_push.json -------------------------------------------------------------------------------- /test/fixtures/github_event_push_solo_organization.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/test/fixtures/github_event_push_solo_organization.json -------------------------------------------------------------------------------- /test/fixtures/github_event_unlabeled.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pullpreview/action/HEAD/test/fixtures/github_event_unlabeled.json --------------------------------------------------------------------------------