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

Release cloud-admin to netlify when tag #2057

Merged
merged 20 commits into from
Apr 12, 2023
Merged

Release cloud-admin to netlify when tag #2057

merged 20 commits into from
Apr 12, 2023

Conversation

himadrisingh
Copy link
Contributor

and release to prod

@himadrisingh himadrisingh self-assigned this Apr 10, 2023
@github-actions github-actions bot temporarily deployed to production April 10, 2023 16:28 Inactive
@github-actions github-actions bot temporarily deployed to production April 10, 2023 16:36 Inactive
@github-actions github-actions bot temporarily deployed to production April 10, 2023 16:40 Inactive
@himadrisingh himadrisingh changed the title Deploy to netlify Release cloud-admin to netlify when tag Apr 10, 2023
paths:
- ".github/workflows/cloud-admin.yml"
- "web-admin/**"
- "web-local/**"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason for web-local to be included here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh it should have been common

- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is a problem or not, but I think the Applications team has all been on Node 16. (We should probably upgrade as mentioned here)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm install
npm run build -w web-admin

- name: Deploy ${{ matrix.name }} to Netlify Staging
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why matrix.name here? I don't see a matrix build

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy paste error 🤦

tags:
- "*"
branches: ["main"]
paths:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need paths here – any tag on main can just trigger a build.

If you want to keep the paths – we also need to add web-common here

@himadrisingh himadrisingh merged commit 18d685f into main Apr 12, 2023
@himadrisingh himadrisingh deleted the netlify branch April 12, 2023 09:03
djbarnwal pushed a commit that referenced this pull request Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants