Skip to content

Commit

Permalink
Tools: Update build workflows after redesign launch
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz committed Dec 20, 2023
1 parent 7d8cab1 commit 5185e0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 65 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/build-beta.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and push to build branch.

on:
push:
branches: [old]
branches: [trunk]

jobs:
build:
Expand Down Expand Up @@ -34,12 +34,12 @@ jobs:

- name: Trim the repo down to just the theme
run: |
rm -rf source/wp-content/themes/wporg-developer/node_modules
rm -rf source/wp-content/themes/wporg-developer/scss
mv source/wp-content/themes/wporg-developer $RUNNER_TEMP
rm -rf source/wp-content/themes/wporg-developer-2023/node_modules
rm -rf source/wp-content/themes/wporg-developer-2023/scss
mv source/wp-content/themes/wporg-developer-2023 $RUNNER_TEMP
git rm -rfq .
rm -rf *
mv $RUNNER_TEMP/wporg-developer/* .
mv $RUNNER_TEMP/wporg-developer-2023/* .
- name: Add all the theme files
run: |
Expand Down

0 comments on commit 5185e0b

Please sign in to comment.