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

How to handle deployment actions and ignored files #22

Open
3daddict opened this issue Jun 11, 2022 · 0 comments
Open

How to handle deployment actions and ignored files #22

3daddict opened this issue Jun 11, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@3daddict
Copy link
Owner

Need a way to manage and maintain ignored files in github actions so each deployment does not reset Shopify 2.0 templates.

  • .github/staging.yml
  • .github/production.yml
    New templates need to be added the first time and then ignored...
    Also looking for better alternatives?
  deploy_to_staging_theme:
    runs-on: ubuntu-latest
    needs: build_and_install
    steps:
      - uses: actions/checkout@v2
      - uses: actions/download-artifact@v3
        with:
          path: dist
      - name: Display structure of downloaded files
        run: ls -R
        working-directory: dist

      - uses: discolabs/deploy-shopify-theme-action@v1
        with:
          store: ${{ secrets.SHOP_STORE }}
          password: ${{ secrets.SHOP_ACCESS_TOKEN }}
          publlished_theme_id: ${{ secrets.SHOP_THEME_ID }}
          path: 'dist'
#           additional_args: '--ignored-file=config/settings_data.json'
@3daddict 3daddict added the help wanted Extra attention is needed label Jun 11, 2022
@3daddict 3daddict added this to Backlog in Webpack Shopify CLI via automation Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Development

No branches or pull requests

1 participant