Square Cloud Action
ActionsTags
(1)The easiest way to integrate your Square Cloud app with GIT, commit your app from github workflows.
Create a .yml
workflow file in the .github/workflows
directory.
Here is an example workflow.
If you want to know more about workflows, see the official GitHub Help Documentation on how to create a workflow file
You also need to configure your GitHub secrets, of course, to not let your Token API be exposed.
token
- Your Square Cloud api token. Get your token from the Square Cloud dashboardRequired
command
- The command you want to executeOptional
install-only
- In case you just want to install the CLI in your workflowOptional
workdir
- The directory you want to work with the ActionOptional
Useful if you just want update the source code of your application
name: Publish
on:
push:
branches:
- master
jobs:
publish-production:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Setup Square Cloud
uses: squarecloudofc/github-action@v2
# in the run command you can add the --restart flag to restart your application after the commit
with:
run: commit ${{ secrets.SQUARE_APPLICATION_ID }}
token: '${{ secrets.SQUARE_TOKEN }}'
We are currently accepting all kinds of suggestions and contributions. All you have to do is open an Issue or a Pull Request!
Square Cloud Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.
Tags
(1)Square Cloud Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.