The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events