File size: 478 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
/* eslint-disable inclusive-language/use-inclusive-words */
export const codePushExample = ( branch: string ) => {
return `
on:
push:
branches:
- ${ branch }
workflow_dispatch:
`.trim();
};
export const uploadArtifactExample = () => {
// It's important to keep the indentation the same way we expect to see it in the final file
return `
- name: Upload the artifact
uses: actions/upload-artifact@v4
with:
name: wpcom
path: |
.
!.git
`.trim();
};
|