Skip to content

Commit

Permalink
Update makefile for 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
dylancashman committed Oct 24, 2023
1 parent 757bcde commit 346ee54
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ NEW_BUCKET=redesign.ieeevis.org
PRODUCTION_BRANCH=production
STAGING_BRANCH=master
NEW_BRANCH=development
2023_BRANCH=vis2023
2023_RELEASE=vis2023-release
2024_BRANCH=vis2024
2024_RELEASE=vis2024-release

all: site

Expand All @@ -21,10 +21,10 @@ newsite:
./scripts/fix_file_extensions.sh
./scripts/buildyear.sh

new2023:
new2024:
npm install
npm run-script build
bundle exec jekyll build -d ./_site/year/2023
bundle exec jekyll build -d ./_site/year/2024
./scripts/fix_file_extensions.sh

production: site
Expand All @@ -37,18 +37,18 @@ stagingnew: newsite
cd _site && ../scripts/sync_with_s3_boto.py $(NEW_BRANCH) $(STAGING_BUCKET)

# don't want to index staging...
staging2023: new2023
staging2024: new2024
cp -f robots.txt -t _site/
cd _site && ../scripts/sync_with_s3_boto.py $(2023_BRANCH) $(STAGING_BUCKET)
cd _site && ../scripts/sync_with_s3_boto.py $(2024_BRANCH) $(STAGING_BUCKET)

productionnew: newsite
cd _site && ../scripts/sync_with_s3_boto.py $(NEW_BRANCH) $(PRODUCTION_BUCKET)

production2023: new2023
cd _site && ../scripts/sync_with_s3_boto.py $(2023_BRANCH) $(PRODUCTION_BUCKET)
production2024: new2024
cd _site && ../scripts/sync_with_s3_boto.py $(2024_BRANCH) $(PRODUCTION_BUCKET)

release2023: new2023
cd _site && ../scripts/sync_with_s3_boto.py $(2023_RELEASE) $(PRODUCTION_BUCKET)
release2024: new2024
cd _site && ../scripts/sync_with_s3_boto.py $(2024_RELEASE) $(PRODUCTION_BUCKET)

new: newsite
cd _site && ../scripts/sync_with_s3_boto.py $(NEW_BRANCH) $(NEW_BUCKET)
Expand Down

0 comments on commit 346ee54

Please sign in to comment.