Skip to content

Commit b9f1c59

Browse files
chore: trigger coder.com deployment (#894)
1 parent da815b9 commit b9f1c59

File tree

1 file changed

+2
-30
lines changed

1 file changed

+2
-30
lines changed

.github/workflows/production.yml

+2-30
Original file line numberDiff line numberDiff line change
@@ -19,40 +19,12 @@ permissions:
1919
security-events: none
2020
statuses: none
2121

22-
# Cancel in-progress runs for pull requests when developers push
23-
# additional changes, and serialize builds in branches.
24-
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-to-cancel-any-in-progress-job-or-run
25-
concurrency:
26-
group: ${{ github.workflow }}-${{ github.ref }}
27-
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
28-
2922
jobs:
3023
production:
3124
name: Production
3225
runs-on: ubuntu-20.04
3326
steps:
34-
- name: Checkout m
35-
uses: actions/checkout@v3
36-
with:
37-
repository: cdr/m
38-
ref: refs/heads/master
39-
token: ${{ secrets.GH_ACCESS_TOKEN }}
40-
submodules: true
41-
fetch-depth: 0
27+
- uses: actions/checkout@v3
4228

4329
- name: Deploy to Vercel (Production)
44-
env:
45-
VERCEL_ORG_ID: team_tGkWfhEGGelkkqUUm9nXq17r
46-
VERCEL_PROJECT_ID: QmZRucMRh3GFk1817ZgXjRVuw5fhTspHPHKct3JNQDEPGd
47-
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
48-
VERCEL_PROD: true
49-
run: ./ci/scripts/deploy_vercel.sh
50-
51-
- name: Slack alert on CI failure
52-
uses: 8398a7/action-slack@v3
53-
if: failure() && github.ref == 'refs/heads/master'
54-
with:
55-
status: ${{ job.status }}
56-
fields: repo,message,author,workflow,action,eventName
57-
env:
58-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
30+
run: curl -X POST https://api.vercel.com/v1/integrations/deploy/prj_vLDYhOxLmchIKn4wYKStFlglaji2/IohYnGbnwu

0 commit comments

Comments
 (0)