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

Allow manual deployment #133

Open
sista05 opened this issue May 2, 2023 · 0 comments
Open

Allow manual deployment #133

sista05 opened this issue May 2, 2023 · 0 comments

Comments

@sista05
Copy link

sista05 commented May 2, 2023

I am thinking of an environment where MFA must be entered in AWS, or where I may want to arbitrarily enter a value into a variable for testing purposes.

The current process of hybrid_branch_deploy is as follows, but if github actions by workflow_dispatch without a pull request, github.event.number will be empty and the deploy will Deploy will always fail.

    - name: Deploy to Dagster Cloud
      uses: ./action-repo/actions/utils/deploy
      id: deploy
      with:
        organization_id: ${{ inputs.organization_id }}
        pr: "${{ github.event.number }}"
        pr_status: "${{ github.event.pull_request.merged && 'merged' || github.event.pull_request.state }}"
        location: ${{ inputs.location }}
        image_tag: ${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}
      env:
        DAGSTER_CLOUD_API_TOKEN: ${{ inputs.dagster_cloud_api_token }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant