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

Deployment configuration base-nuxt for filmz #1

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

opsmaru-staging[bot]
Copy link

Configuration for PAKman github action. This configuration will deploy your application automatically when you push to the branch set in the file. You can modify the branch list as you see fit.

If you want to configure conditional deployment you can also switch the following block:

on:
  push:
    branches:
      - main
      - master
      - develop

to the following:

on:
  workflow_run:
    workflows: ["CI"]
    branches: [main, master, develop]
    types:
      - completed

This assumes your CI workflow is named 'CI' in your github action. You can then simply add the if under the job.

jobs:
  build_and_deploy:
    if: ${{ github.event.workflow_run.conclusion == 'success' }}

@zacksiri zacksiri merged commit 139ef09 into main Oct 6, 2023
@zacksiri zacksiri deleted the insterra/packs/13/1696494257 branch October 6, 2023 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant