Update destacados-iconos.html #196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: jekyll-cd | |
on: | |
push: | |
branches: | |
- gh-pages-new | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛎 Check out master | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 1 | |
- name: 🎩 Install Jekyll | |
run: | | |
sudo gem install bundler jekyll | |
sudo bundle install | |
- name: 🧹 Clean site | |
run: | | |
if [ -d "docs" ]; then | |
rm -rf docs/* | |
fi | |
- name: Instalamos dependencias | |
working-directory: ./src | |
run: npm update | |
- name: 🔨 Build site | |
working-directory: ./ | |
run: bundle exec jekyll build -d docs | |
- name: Descargo repo Iconos | |
uses: actions/checkout@v4 | |
with: | |
repository: argob/iconos | |
path: ./iconos | |
- name: copio dependencias | |
working-directory: ./ | |
run: | | |
cp -R ./iconos/dist/ilustraciones ./docs/ | |
rm -R ./iconos | |
- name: 🧪 Deploy build | |
run: | | |
git config user.name "${GITHUB_ACTOR}" | |
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
git add . | |
git commit -am "🧪 Deploy with ${GITHUB_WORKFLOW}" | |
git push --all -f https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git |