Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of ailohq/github-deployment plugin #2569

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .buildkite/pipeline.preview.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
env:
GITHUB_USERNAME: "buildkite-docs-bot"

steps:
- label: "Prepare preview"
command: bin/prepare-preview
Expand All @@ -10,11 +7,6 @@ steps:
env:
RAILS_ENV: "production"
plugins:
- ailohq/github-deployment#v1.0.10:
token-env: GH_TOKEN
environment: preview
production_environment: false
transient_environment: true
- docker-compose#v3.9.0:
run: app
dependencies: false
Expand Down
2 changes: 0 additions & 2 deletions bin/prepare-preview
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ curl -H "Content-Type: application/zip" \
PREVIEW_URL=$(cat netlify-deploy.json | jq -r '.deploy_ssl_url')
PREVIEW_MESSAGE="Preview URL: $PREVIEW_URL"

buildkite-agent meta-data set "environment_url" "$PREVIEW_URL"

echo "--- :buildkite: Annotating build"
buildkite-agent annotate --style "info" --context "netlify/preview-url" "$PREVIEW_MESSAGE"

Expand Down