Skip to content

Commit 8872e50

Browse files
committed
Update deployment workflow
1 parent e5656e5 commit 8872e50

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/pull_request.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,16 @@ jobs:
2121
- name: Run npm install
2222
run: npm ci
2323

24-
# After the site is built, we delete the old docs folder,
25-
# add CNAME file to dist folder, and rename it to docs.
2624
- name: Build
2725
run: |
2826
npm run build
29-
echo "chooser-beta.creativecommons.org" > "./dist/CNAME"
30-
rm -r -f "./docs"
31-
mv -f -v "./dist" "./docs"
3227
3328
- name: Commit changes
3429
uses: EndBug/add-and-commit@v4
3530
with:
36-
author_name: obulat
37-
author_email: obulat@gmail.com
38-
message: "Publish site"
31+
author_name: cc-open-source-bot
32+
author_email: opensource@creativecommons.org
33+
message: "Deploy site"
3934
add: "./docs"
4035
env:
4136
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)