Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenophong committed Mar 27, 2024
1 parent 308326c commit e28cc68
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,41 +40,3 @@ jobs:
name: Deploy Website
on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0

- name: Install Bundler and dependencies
run: |
cd /Users/xenofon.giannoulis/Documents/G_Github/website/web
bundle config path vendor/bundle
bundle install
- name: Build website
run: |
cd /Users/xenofon.giannoulis/Documents/G_Github/website/web
bundle exec jekyll build
- name: Deploy to GitHub Pages
run: |
cd /Users/xenofon.giannoulis/Documents/G_Github/website/web
git config --global user.name "Xenophong"
git add .
git commit -m "Update website"
git push origin main

0 comments on commit e28cc68

Please sign in to comment.