Skip to content

Add Deprecation notice #100

Add Deprecation notice

Add Deprecation notice #100

Workflow file for this run

name: CI
on: [push]
jobs:
error:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fake Errored Deploy
id: deploy
run: echo "ERROR!!" 1>&2
- name: Create GitHub Deployment
id: github-deployment-action
uses: ./
env:
WORKFLOW_CI: true
EXPECTED_RESULT: 'failure'
with:
token: ${{ github.token }}
environment: 'preview'
preview_url: ${{ steps.deploy.outputs.preview_url }}
description: ${{ github.event.head_commit.message }}
success:
if: always()
needs: [error]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fake Successful Deploy
id: deploy
run: echo "preview_url=https://shopify.dev/hydrogen" >> "$GITHUB_OUTPUT"
- name: Create GitHub Deployment
id: github-deployment-action
env:
WORKFLOW_CI: true
EXPECTED_RESULT: 'success'
uses: ./
with:
token: ${{ github.token }}
environment: 'preview'
preview_url: ${{ steps.deploy.outputs.preview_url }}
description: ${{ github.event.head_commit.message }}