I want to exclude the .git/ directory and readme.md file to deploy on google cloud storage.
pipelines:
default:
- step:
name: Deploy to Gcloud
deployment: production
script:
- pipe: atlassian/google-cloud-storage-deploy:0.3.6
variables:
KEY_FILE: $GCP_KEYS
PROJECT: 'superman'
BUCKET: 'www.superman.com'
SOURCE: '.'
EXTRA_ARGS: '-e'
@[deleted] you should be able to just remove the .git and readme.md before running the pipe:
pipelines:
default:
- step:
name: Deploy to Gcloud
deployment: production
script:
- rm -rf .git
- rm readme.md
- pipe: atlassian/google-cloud-storage-deploy:0.3.6
variables:
KEY_FILE: $GCP_KEYS
PROJECT: 'superman'
BUCKET: 'www.superman.com'
SOURCE: '.'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.