vhgauto está generando tabla interactiva HT 🎙️🎬 #167
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: Proyecto HT.BUSCADOR | |
run-name: ${{ github.actor }} está generando tabla interactiva HT 🎙️🎬 | |
on: [push] | |
jobs: | |
HT-BUSCADOR: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
env: | |
SPOTIPY_CLIENT_ID: ${{ secrets.SPOTIPY_CLIENT_ID }} | |
SPOTIPY_CLIENT_SECRET: ${{ secrets.SPOTIPY_CLIENT_SECRET }} | |
SPOTIPY_REFRESH_TOKEN: ${{ secrets.SPOTIPY_REFRESH_TOKEN }} | |
steps: | |
- run: echo "🎉 Tareas activadas automáticamente debido a un evento ${{ github.event_name }}" | |
- run: echo "🐧 Las tareas están corriendo en un servidor ${{ runner.os }} alojado en GitHub" | |
- run: echo "🔎 El nombre del branch es ${{ github.ref }} y el repositorio es ${{ github.repository }}" | |
- name: Verificar el código del repositorio | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
activate-environment: ht.buscador | |
environment-file: environment.yml | |
auto-activate-base: false | |
- name: Cambio locale | |
run: | | |
sudo locale-gen es_ES.UTF-8 | |
sudo update-locale LANG=es_ES.UTF-8 | |
- name: Creo sitio web | |
run: scripts/principal.bash | |
- name: Configuro git en el runner | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub" | |
- name: Commit de los cambios en el repositorio | |
run: | | |
git add . | |
git commit -m "sitio web actualizado" | |
git push origin main | |
- run: echo "✅ El estado final es = ${{ job.status }}." |