atlassian/google-cloud-storage-deploy:2.2.0

Atish Roy January 6, 2025

      - step:

          name: Publish HTML to Google ucket
          script:
            - pipe: atlassian/google-cloud-storage-deploy:2.2.0
              variables:
                KEY_FILE: $XXXXXX
                BUCKET: 'XXXXXXXXXXXX'
                SOURCE: '.'
                DEBUG: 'true'
In my repository, I have multiple file. I would like to publish files with certain extn, e.g. I would like to publish all HTML files from my repository to Google Bucket. 

 

SOURCE: '*.html' -- this is not working

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 8, 2025

Hi @Atish Roy

Thank you for reaching out to the community.

Could you confirm if you're getting any error messages?

Also, have you tried selecting a specific folder where all HTML files are there?

Regards,
Mark C

Atish Roy January 8, 2025

Error message from pipeline: 

Deployment failed. Unrecognized source path: *.html. Should be a path to existing directory or file.


Also, have you tried selecting a specific folder where all HTML files are there? - No, I used, '*.html'

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 8, 2025

Hi @Atish Roy

Thanks for that.

It seems the glob pattern you used is invalid or the "Source" variable only accepts absolute or relative path.

Could you try putting your HTML files in a folder and use that folder as the source in the Pipes script?

Regards,
Mark C

Like Igor Stoyanov likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events