-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
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'Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed