Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating version in readme and a few nits #28

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.3.3
- name: HubSpot Deploy Action
uses: HubSpot/hubspot-cms-deploy-action@v1.5
uses: HubSpot/hubspot-cms-deploy-action@v1.7
with:
src_dir: <src>
dest_dir: <src>
src_dir: <src> ## ex. src
dest_dir: <src> ## ex. my-theme
portal_id: ${{ secrets.hubspot_portal_id }}
personal_access_key: ${{ secrets.hubspot_personal_access_key }}
```
Expand All @@ -37,7 +37,7 @@ jobs:
*Note:* Do not change the `portal_id` or `personal_access_key` values in your workflow. Auth related values should only be stored as GitHub secrets.

### Deploying to a staging account
If you'd like to auto-deploy to a staging branch, you can create an additional workflow that runs on `push` your QA branch and deploy to a different HubSpot. account
If you'd like to auto-deploy to a staging account you have in HubSpot, you can create an additional workflow that runs on `push` to your associated stanging branch in your repo.
```yaml
on:
push:
Expand All @@ -51,7 +51,7 @@ portal_id: ${{ secrets.staging_account_id }}
To add HubSpot CMS deployment as a step in an existing GitHub Action workflow, add the following step:
```yaml
- name: HubSpot Deploy Action
uses: HubSpot/hubspot-cms-deploy-action@v1.5
uses: HubSpot/hubspot-cms-deploy-action@v1.7
with:
src_dir: <src> ## ex. src
dest_dir: <src> ## ex. my-theme
Expand Down